import request from '@/utils/request'


export default{
    userList(page, size, searchMap) {
        return request({
            url: `manage/user/lists?page=${page}&size=${size}`,
            method: 'post',
            data: searchMap
        })
    },
    // 禁用启用
    disabledUser(id,status){
        return request({
            url: `manage/user/statusChange?id=${id}&status=${status}`,
            method: 'post',
        })
    },
}
